package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

	beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"] = append(beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"],
		beego.ControllerComments{
			Method: "ConvertKdxfTts",
			Router: `/convert`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"] = append(beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"],
		beego.ControllerComments{
			Method: "ConvertAliTts",
			Router: `/convertAliTts`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"] = append(beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"],
		beego.ControllerComments{
			Method: "ConvertFlowTts",
			Router: `/convertFlowTts`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"] = append(beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"],
		beego.ControllerComments{
			Method: "ConvertPreTts",
			Router: `/convertPreFlowTts`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"] = append(beego.GlobalControllerRouter["i-hea.com/ttsc/controllers:MainController"],
		beego.ControllerComments{
			Method: "ConvertTts",
			Router: `/convertv2`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

}
